package com.daisuxia.back.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.daisuxia.back.dao.ICollectionWithholdingRecordDao;
import com.daisuxia.web.pojo.CollectionWithholdingRecord;

@Service
public class CollectionWithholdingRecordService implements ICollectionWithholdingRecordService {
    @Autowired
    private ICollectionWithholdingRecordDao collectionWithholdingRecordDao;

    @Override
    public boolean updateStatusFail() {
        return collectionWithholdingRecordDao.updateStatusFail() > 0;
    }

    @Override
    public List<CollectionWithholdingRecord> findTowHoursList() {
        return collectionWithholdingRecordDao.findTowHoursList();
    }

}
